<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>正在跳转...</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <script th:inline="javascript" type="text/javascript">
        var token = [[${token}]];
        localStorage.setItem("userToken", token);
        var redirectUrl = [[${redirectUrl}]];
    </script>
    <script type="text/javascript">
        function onload() {
            setTimeout(function () {
                window.location.href = redirectUrl;
            }, 500);
        }
    </script>
</head>
<body onload="onload()">
<div th:alt="${token}"></div>
<div th:alt="${redirectUrl}"></div>
<div id="token"></div>
<div id="redirectUrl"></div>
</body>
</html>